package com.ngkj.zmfptback.sys.mapper.write;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;

/**
 * @author ChenHN
 * @since 2021/12/22 creation
 **/
@Mapper
public interface RoleAuthWriteMapper {

    void addRoleAuth(@Param("list") List<String> list,@Param("id") Long id);

    void deleteRoleAuth(@Param("list") List<String> list,@Param("id")Long id);

    void deleteAll(@Param("id")Integer id);

    void deleteRoleAuthByAuthId(long authId);

}
